import { request } from "@/utils/service"
// 后台车辆保险管理
export function getCarMaintenanceList(data: any) {
  return request({
    url: "/bg/carMaintenance/getList",
    method: "post",
    data
  })
}
//保存或修改
export function saveOrUpdateCarMaintenance(data: any) {
  return request({
    url: "/bg/carMaintenance/saveOrUpdate",
    method: "post",
    data
  })
}

//详情
export function getCarMaintenanceDetails(data: any) {
    return request({
      url: "/bg/carMaintenance/getById",
      method: "post",
      data
    })
}

//根据id删除
export function deleteCarMaintenanceById(data: any) {
    return request({
      url: "/bg/carMaintenance/deleteById",
      method: "post",
      data
    })
}
